let SERVERURL = "http://localhost:8080/";

$(function () {
    if (location.href.indexOf("localhost:8081") != -1) {
        SERVERURL = "http://localhost:8081/";
    }
    if (location.href.indexOf("localhost:8080") != -1) {
        SERVERURL = "http://localhost:8080/";
    }

    if (location.href.indexOf("127.0.0.1:8080") != -1) {
        SERVERURL = "http://127.0.0.1:8080/";
    }

    if (location.href.indexOf("114.55.63.25:8080") != -1) {
        SERVERURL = "http://114.55.63.25:8080/";
    }

    if (location.href.indexOf("112.74.197.205:8080") != -1) {
        SERVERURL = "http://112.74.197.205:8080/"
    }
});
